//
//  Person.m
//  Day4
//
//  Created by wenjim on 17/9/19.
//  Copyright © 2017年 WenJim. All rights reserved.
//

#import "Person.h"

@implementation Person

//+(instancetype)person
//{
//    Person * p = [Person alloc];
//    Person * p1 = [p init];
//    return p1;
//}

+(instancetype)person
{
    return [[Person alloc] init];
}

+(instancetype)personWithAge:(int)age
{
    Person * p = [[Person alloc]init];
    p.age = age;
    return p;
}


@end
